package yxy.game.pm2.bean.db.po;

import yxy.apple.db.ResultObjectBuilder;

/**
 * @author James
 * @date 2022/1/22 13:45
 **/
public class AchievementPo {
    private String playerCode;
    private int group;
    private String taskCodes;

    public static ResultObjectBuilder<AchievementPo> builder = rs -> {
        AchievementPo achievementPo = new AchievementPo();
        achievementPo.setPlayerCode(rs.getString("pCode"));
        achievementPo.setGroup(rs.getInt("group"));
        achievementPo.setTaskCodes(rs.getString("taskCodes"));
        return achievementPo;
    };

    public String getPlayerCode() {
        return playerCode;
    }

    public void setPlayerCode(String playerCode) {
        this.playerCode = playerCode;
    }

    public int getGroup() {
        return group;
    }

    public void setGroup(int group) {
        this.group = group;
    }

    public String getTaskCodes() {
        return taskCodes;
    }

    public void setTaskCodes(String taskCodes) {
        this.taskCodes = taskCodes;
    }
}
